package com.sjgs.gis.errors;

import java.net.URI;

public final class ErrorConstants {

    public static final String ERR_CONCURRENCY_FAILURE = "error.concurrencyFailure";
    public static final String ERR_VALIDATION = "error.validation";
    public static final String PROBLEM_BASE_URL = "https://www.jhipster.tech/problem";///problem-with-message
    public static final URI DEFAULT_TYPE = URI.create(PROBLEM_BASE_URL + "/problem-with-message");
    public static final URI CONSTRAINT_VIOLATION_TYPE = URI.create(PROBLEM_BASE_URL + "/constraint-violation");
    public static final URI PARAMETERIZED_TYPE = URI.create(PROBLEM_BASE_URL + "/parameterized");
    public static final URI ENTITY_NOT_FOUND_TYPE = URI.create(PROBLEM_BASE_URL + "/entity-not-found");
    public static final URI INVALID_PASSWORD_TYPE = URI.create(PROBLEM_BASE_URL + "/invalid-password");
    public static final URI EMAIL_ALREADY_USED_TYPE = URI.create(PROBLEM_BASE_URL + "/email-already-used");
    public static final URI LOGIN_ALREADY_USED_TYPE = URI.create(PROBLEM_BASE_URL + "/login-already-used");
    public static final URI LOGIN_NOT_FOUND_TYPE = URI.create(PROBLEM_BASE_URL + "/login-not-found");
    public static final URI EMAIL_NOT_FOUND_TYPE = URI.create(PROBLEM_BASE_URL + "/email-not-found");
    public static final URI INVALID_BUFFER = URI.create(PROBLEM_BASE_URL + "/invalid-buffer");
    public static final URI INVALID_CHUNK = URI.create(PROBLEM_BASE_URL + "/invalid-chunk");
    public static final URI INVALID_HDFS_PATH = URI.create(PROBLEM_BASE_URL + "/invalid-hdfs-path");
    public static final URI INVALID_LOCAL_PATH = URI.create(PROBLEM_BASE_URL + "/invalid-local-path");
    public static final URI INVALID_GRIDFS_PATH = URI.create(PROBLEM_BASE_URL + "/invalid-gridfs-path");
    public static final URI INVALID_CONNECT_URL = URI.create(PROBLEM_BASE_URL + "/invalid-connect-url");
    public static final URI INVALID_ROCKS_PATH = URI.create(PROBLEM_BASE_URL + "/invalid-rocks-path");
    public static final URI UNKOWN_DB_NAME = URI.create(PROBLEM_BASE_URL + "/unknow-db-name");
    private ErrorConstants() {
    }
}
